home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Select (Limited Edition)
/
Computer Select.iso
/
pcmag
/
v11n08
/
wprints.exe
/
WPRINC.EXE
/
DIB.H
< prev
next >
Wrap
Text File
|
1991-11-22
|
691b
|
24 lines
/* WinFlags, __WinFlags is a ABS external, thus the need for the & */
#define WinFlags ((WORD)(&_WinFlags))
/* id's for _lseek */
#define SEEK_CUR 1
#define SEEK_END 2
#define SEEK_SET 0
#define MAXREAD 32768 /* Number of bytes to be read during */
/* each read operation. */
#define BFT_BITMAP 0x4d42 /* 'BM' */
/* macro to determine if resource is a DIB */
#define ISDIB(bft) ((bft) == BFT_BITMAP)
/* Macro to align given value to the closest DWORD (unsigned long ) */
#define ALIGNULONG(i) ((i+3)/4*4)
/* Macro to determine to round off the given value to the closest byte */
#define WIDTHBYTES(i) ((i+31)/32*4)